[NTG-context] Re: Japanese

2024-03-11 Thread Wolfgang Schuster
paragraphs https://www.w3.org/TR/jlreq/#fig2_5_7 Use the narrower or blockquote environment for this. * tab setting https://www.w3.org/TR/jlreq/#fig2_6_1 Just use a table. * furiwake https://www.w3.org/TR/jlreq/#fig2_7_2 * jidori https://www.w3.org/TR/jlreq/#fig2_7_4

[NTG-context] Markdown to HTML cross-references

2023-11-21 Thread Thangalin
hub.io/pandoc-crossref - https://github.com/tomduck/pandoc-eqnos I'm leaning towards the following syntax: Markdown Item (table, blockquote, TeX block, figure, code, R chunk, etc.) : caption text {#type:label} See [@type:label] for details. There's a unit test that shows what's currently

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Pablo Rodriguez
re and after the environment is > to use the spacebefore and spaceafter keys. Now it is clear to me how the after and spaceafter differ in delimited texts. > It would interesting to know what you're trying to achieve with your > combination of itemize and blockquote. I’m quot

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Wolfgang Schuster
you're trying to achieve with your combination of itemize and blockquote. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Pablo Rodriguez
On 9/26/23 12:52, gerard.degreve wrote: > Hello Pablo, > > Just try to do this : >> \setupitemgroup >> [itemize][1] >> [ before={\blank[.125th]}, >> after={\blank[.125th]}\strut] Hi Gerard, this also works with \null, but not well with small dimensions: \showframe\showgrid\showstruts

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread gerard.degreve
] [ before={\blank[.125th]}, after={\blank[.125th]}] \starttext one \startblockquote \startitemize \item a \stopitemize \stopblockquote two \stoptext The blockquote disables the space after the list, but not before. Have I hit a bug or am I missing something? Many thanks for your help, Pablo

[NTG-context] item list inside a blockquote

2023-09-25 Thread Pablo Rodriguez
\stopblockquote two \stoptext The blockquote disables the space after the list, but not before. Have I hit a bug or am I missing something? Many thanks for your help, Pablo ___ If your question is of interest

Re: [NTG-context] Text editors

2023-03-26 Thread jbf via ntg-context
text expander Espanso <https://duckduckgo.com/?q=espanso+site:espanso.org=lm=v353-1>https://espanso.org <https://espanso.org/>. This just saves so much time, especially for so many \start...\stop sequences.  For example, in espanso I might have: # blockquote   - trigger: "

[NTG-context] Definestartstop, Narrower, and Blockquotej

2022-12-17 Thread Michael Urban via ntg-context
\stoptext But now, blockquote is altered: \startblockquote \input lorem \stopblockquote But not narrower itself: \startnarrower \input lorem \stopnarrower \stoptext ___ If your question is of interest to others as well

Re: [NTG-context] issue with lpath

2022-08-04 Thread Taco Hoekwater via ntg-context
> On 4 Aug 2022, at 16:07, Hans Hagen wrote: > > On 8/4/2022 12:22 PM, Taco Hoekwater via ntg-context wrote: >>> On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context >>> wrote: >>> >>> BTW, is there any way to rephrase "{h3 + bl

Re: [NTG-context] issue with lpath

2022-08-04 Thread Pablo Rodriguez via ntg-context
On 8/4/22 12:22, Taco Hoekwater via ntg-context wrote: >> On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context >> wrote: >> BTW, is there any way to rephrase "{h3 + blockquote}" in proper Lua? > > I was wondering about that as well, and I really had no c

Re: [NTG-context] issue with lpath

2022-08-04 Thread Hans Hagen via ntg-context
On 8/4/2022 12:22 PM, Taco Hoekwater via ntg-context wrote: On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context wrote: BTW, is there any way to rephrase "{h3 + blockquote}" in proper Lua? I was wondering about that as well, and I really had no clue how to do that. So

Re: [NTG-context] issue with lpath

2022-08-04 Thread Taco Hoekwater via ntg-context
> On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context > wrote: > > BTW, is there any way to rephrase "{h3 + blockquote}" in proper Lua? I was wondering about that as well, and I really had no clue how to do that. Some reading and studying later, I realised tha

Re: [NTG-context] issue with lpath

2022-08-03 Thread Pablo Rodriguez via ntg-context
On 8/3/22 09:09, Taco Hoekwater via ntg-context wrote: >> On 2 Aug 2022, at 21:14, Pablo Rodriguez via ntg-context >> wrote: >> [...] >> I need an lpath to select the h3 node above, but only the one with "h3 + >> blockquote" as a CSS selector (which c

[NTG-context] What exactly is lpath?

2022-08-03 Thread Denis Maier via ntg-context
> On 2 Aug 2022, at 21:14, Pablo Rodriguez via ntg-context cont...@ntg.nl> wrote: > > > > Dear list, > > > > > > I need an lpath to select the h3 node above, but only the one with "h3 > > + blockquote" as a CSS selector (which could be added

Re: [NTG-context] issue with lpath

2022-08-03 Thread Taco Hoekwater via ntg-context
> On 2 Aug 2022, at 21:14, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > > I need an lpath to select the h3 node above, but only the one with "h3 + > blockquote" as a CSS selector (which could be added the lpath "../h3" > afte

[NTG-context] issue with lpath

2022-08-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have this sample: \startbuffer[demo] One Standard paragraph Quoted text Two Direct quote \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1} {p|blockquote} {xml

Re: [NTG-context] embedding tex and lua code in

2022-03-24 Thread mf via ntg-context
run by ConTeXt - redefine xmlsetups from the HTML document itself Massi Il 22/03/22 17:07, mf via ntg-context ha scritto: </pre><blockquote style="border-left: #EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> I've added a <scr

Re: [NTG-context] redefining xmlsetups inside a XML document

2022-03-22 Thread mf via ntg-context
s: </tt><pre style="margin: 0em;"> \xmlsetsetup{\xmlfirst{\xmldocument}{body}}{p|i}{myHtml:*} </pre><tt>but it doesn't work, since \xmldocument seems to be the actual document </tt><tt>instead of an id pointing to its root element. </tt><pre style=&

Re: [NTG-context] redefining xmlsetups inside a XML document

2022-03-22 Thread mf via ntg-context
le="margin: 0em;"> \xmlsetsetup{\xmlfirst{\xmldocument}{body}}{p|i}{myHtml:*} </pre><tt>but it doesn't work, since \xmldocument seems to be the actual document </tt><tt>instead of an id pointing to its root element. </tt><pre style="margin

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
Pagella Math] \definetypeface [story] [mm] [math] [pagella] [default] \setupbodyfont[story,11pt] \usebodyfont[termes] \showframe \startsetups [blockquote:style] \switchtobodyfont[termes] \setupwhitespace[2pt] \stopsetups \setupdelimitedtext [blockquote] [spacebefore=big,

Re: [NTG-context] "Flushbottom" / \setupalign[line] in LMTX

2022-03-09 Thread Denis Maier via ntg-context
\Par\par\Par\Par\par\Par\Par\par\Par\Par\Par\Par\Par \stoptext %%% % Another Example %%% \setuppapersize[A5][A5] \showframe \setupalign[line] % \setupalign[height] \setupdelimitedtext[blockquote] [ before={\set

[NTG-context] "Flushbottom" / \setupalign[line] in LMTX

2022-03-09 Thread Denis Maier via ntg-context
ar\par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\Par\Par\Par \stoptext %%% % Another Example %%% \setuppapersize[A5][A5] \showframe \setupalign[line] % \setupalign[height] \setupdelimitedtext[blockquote] [ before={\setupind

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-06 Thread śrīrāma via ntg-context
lready provides a blockquote-environment which can be > configured to have the same style as your custom environment. Hi Wolfgang, I have a related question: I noticed that the font settings were wrong in the original MWE of Michael. I am also aware that ConTeXt has a blockquote env (having used it be

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-06 Thread Wolfgang Schuster via ntg-context
Michael Urban via ntg-context schrieb am 05.02.2022 um 20:28: I am experiencing an odd behavior switching text styles in a defined startstop group ("blockquote"). I get different behavior depending on whether the switchtobodyfont in the startstop definition includes the dummy {\it

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread śrīrāma via ntg-context
X Gyre Pagella Math] \setupbodyfont[story,11pt] \usebodyfont[termes] \definestartstop [blockquote] [before={\blank\startnarrower\setupwhitespace[2pt]\setupindenting[none]}, style={\switchtobodyfont[termes]}, after={\stopnarrower\blank\indenting[next]}] \starttext \input

[NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread Michael Urban via ntg-context
I am experiencing an odd behavior switching text styles in a defined startstop group ("blockquote"). I get different behavior depending on whether the switchtobodyfont in the startstop definition includes the dummy {\it } and {\bf } text. If they are not there, the italic an

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-16 Thread Denis Maier via ntg-context
, Denis Christian (UB) Betreff: [NTG-context] LTR footnotes from RTL paragraph Hi Footnotes originating from an RTL paragraph will be also typeset in RTL mode as the following example illustrates: %% \setupdelimitedtext[blockquote] [leftmargin=1.5em,rightmargin

[NTG-context] LTR footnotes from RTL paragraph

2021-12-16 Thread Denis Maier via ntg-context
Hi Footnotes originating from an RTL paragraph will be also typeset in RTL mode as the following example illustrates: %% \setupdelimitedtext[blockquote] [leftmargin=1.5em,rightmargin=0em,] \definedelimitedtext[rtlblockquote] \setupdelimitedtext[rtlblockquote

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-13 Thread Denis Maier via ntg-context
to righttoleft without changing margins of delimited text On 12/13/2021 5:25 PM, Denis Maier via ntg-context wrote: > Hi, > > I have the following example: > > % > > \setupdelimitedtext[blockquote] > > [leftmargin=1.5em,right

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-13 Thread Hans Hagen via ntg-context
On 12/13/2021 5:25 PM, Denis Maier via ntg-context wrote: Hi, I have the following example: % \setupdelimitedtext[blockquote]     [leftmargin=1.5em,rightmargin=0em,] \starttext \input knuth \startblockquote \input knuth \stopblockquote

[NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-13 Thread Denis Maier via ntg-context
Hi, I have the following example: % \setupdelimitedtext[blockquote] [leftmargin=1.5em,rightmargin=0em,] \starttext \input knuth \startblockquote \input knuth \stopblockquote \startblockquote \righttoleft \input knuth \stopblockquote \input

Re: [NTG-context] PDF text stream with delimitedtext

2021-10-30 Thread Rudolf Bahr via ntg-context
Am Sat, Oct 30, 2021 at 09:12:19PM +0100 schrieb Adam Reviczky via ntg-context: > Hi, > > I am trying to use quotation or blockquote in a document, but when > selecting and copying the text in poppler/pdf.js I get double marks. > > Looking at the minimal example below: &

[NTG-context] PDF text stream with delimitedtext

2021-10-30 Thread Adam Reviczky via ntg-context
Hi, I am trying to use quotation or blockquote in a document, but when selecting and copying the text in poppler/pdf.js I get double marks. Looking at the minimal example below: \nopdfcompression \setuppagenumbering[location=] \starttext \startquotation Hello world! \stopquotation

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-28 Thread denis.maier
in for stretch !=0, no matter how small \setupalign[height] \setupinterlinespace[stretch=0.001] % vertical stretching seems to kick in for stretch !=0, no matter how small \setupdelimitedtext[blockquote] [style={\switchtobodyfont[x

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-26 Thread denis.maier
] and \setupalign[line] in LMTX Hi, \setupalign[height] and \setupalign[line] seem to have no effect in a LMTX. Do I need to change something? Best, Denis ``` \setuppapersize[A5][A5] \showframe %\setupalign[line] \setupalign[height] \setupdelimitedtext[blockquote

[NTG-context] setupalign[height] vs setupalign[line] in MKIV

2021-04-23 Thread denis.maier
at all under LMTX. Best, Denis \setuppapersize[A5][A5] \showframe \setupdelimitedtext[blockquote] [before={\switchtobodyfont[small]}, spacebefore={medium,flexible

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
]}, after={\blank[big,flexible]}, ] \setupdelimitedtext[blockquote] [ before={\tfx\setupinterlinespace[stretch=0.05

[NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-22 Thread denis.maier
Hi, \setupalign[height] and \setupalign[line] seem to have no effect in a LMTX. Do I need to change something? Best, Denis ``` \setuppapersize[A5][A5] \showframe %\setupalign[line] \setupalign[height] \setupdelimitedtext[blockquote

[NTG-context] Grid typesetting, blockquotes in smaller font across pagebreaks

2021-03-25 Thread denis.maier
Hi, I'm playing around with grid typesetting. Consider the following example: -- \setuppapersize[A5][A5] \setupbodyfont[10pt] \setuplayout[grid=yes] \showgrid \setupdelimitedtext[blockquote

[NTG-context] \startblockquote…\stopblockquote issue

2020-12-31 Thread Alan Bowen
In the latest standalone ( ConTeXt ver: 2020.12.30 16:45 LMTX fmt: 2020.12.30), \startblockquote and \stopblockquote do not work when I use the key, method=font, or include \setupquotation[method=font]. MWE %\setupquotation[method=font] \setupdelimitedtext[blockquote][ % method=font, before

Re: [NTG-context] simple way to change value of 'x' in \tfx?

2020-04-27 Thread Wolfgang Schuster
] \setupbodyfontenvironment[default]  [em=italic] Not necessary because Pagella has no slanted alternative and \sl uses the italic alternative. \setupdelimitedtext[blockquote][style=\tfx, before={\blank\setupinterlinespace[line=2.4ex]},after={\blank}] My publisher thinks the default scaling of 'x' (0.8) is too

[NTG-context] simple way to change value of 'x' in \tfx?

2020-04-27 Thread jbf
I have the following setup currently, involving: \definefontfamily[mainface][rm][texgyrepagella][tf=file:texgyrepagella-regular.otf] \setupbodyfont[mainface,11pt] \setupbodyfontenvironment[default]  [em=italic] \setupdelimitedtext[blockquote][style=\tfx, before={\blank\setupinterlinespace[line

Re: [NTG-context] \startuserdata syntax questions

2018-08-29 Thread Rik Kabel
you need it for), like blocks also, user dat picks up its content (they're buffers) so that would also mean more nested buffers .. it's meant as a simple mechanism Yes, the environment is meant for short blocks of text (e.g. a blockquote) where you have to set different texts (e.g. the name

Re: [NTG-context] \startuserdata syntax questions

2018-08-29 Thread Wolfgang Schuster
also mean more nested buffers .. it's meant as a simple mechanism Yes, the environment is meant for short blocks of text (e.g. a blockquote) where you have to set different texts (e.g. the name of a author) for each use of the environment. I thought about adding a switch to change between

Re: [NTG-context] blockquote oddity

2016-10-19 Thread Alan Bowen
Thanks, Wolfgang, for the explanation. Best, Alan On Wed, Oct 19, 2016 at 11:33 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Alan Bowen > 19. Oktober 2016 um 17:15 > \starttext > \startblockquote > [w]hile we may > > [w]hile we may > > \stopblockquote >

Re: [NTG-context] blockquote oddity

2016-10-19 Thread Wolfgang Schuster
Alan Bowen 19. Oktober 2016 um 17:15 \starttext \startblockquote [w]hile we may [w]hile we may \stopblockquote \stoptext seems to fail with the latest beta (ConTeXt ver: 2016.10.14) unless one replaces the first line with \[w\]hile we may. Better

[NTG-context] blockquote oddity

2016-10-19 Thread Alan Bowen
\starttext \startblockquote [w]hile we may [w]hile we may \stopblockquote \stoptext seems to fail with the latest beta (ConTeXt ver: 2016.10.14) unless one replaces the first line with \[w\]hile we may. The error message is tex error > tex error on line 4 in file

Re: [NTG-context] Strange problem with Blockquote

2016-08-17 Thread Pablo Rodriguez
ly > more appropriate argument, nothing changed the behaviour of this, or > rather a blockquote in this first chapter, not even surrounding the > blockquote itself with \setupinterlinespace[small] > ... \setupinterlinespace[reset], as I wrote in my original post. frontpart is the sectionb

Re: [NTG-context] Strange problem with Blockquote

2016-08-17 Thread Robert Blackstone
On 17 Aug 2016, at 02:19 , Pablo Rodriguez <oi...@gmx.es> wrote > > > Hi Robert, > > from what I get from your message, there is only one blockquote in the > introduction. > > How about adding the following code before \starttext? > >\st

Re: [NTG-context] Strange problem with Blockquote

2016-08-16 Thread Pablo Rodriguez
Hi Robert, from what I get from your message, there is only one blockquote in the introduction. How about adding the following code before \starttext? \startsectionblockenvironment[frontpart] \setupinterlinespace[small] % or whichever value you want \stopsectionblockenvironment

[NTG-context] Strange problem with Blockquote

2016-08-16 Thread Robert Blackstone
Dear all, I have a small but nasty problem with the book I’m (still) working on. Its 10 chapters contain many Blockquotes, and they all come out as intended except one, in the first, unnumbered, chapter “Introduction". That particular blockquote v]comes out like the others only as far a

Re: [NTG-context] problem with \setupdelimitedtext

2016-05-16 Thread Alan Bowen
wice what it > should be: > \setupdelimitedtext > [blockquote] > [before={\blank[small,fixed] > \setupnarrower[left=1.5pc,right=0pc] > \startnarrower[left,right] > \noindentation}, > after={\par\stopnarrower > \blank[small,fixed] > \noindentation}] > > \

Re: [NTG-context] problem with \setupdelimitedtext

2016-05-16 Thread Wolfgang Schuster
Alan Bowen <mailto:bowenala...@gmail.com> 16. Mai 2016 um 18:49 In the following, the indentation using \startblockquote is twice what it should be: \setupdelimitedtext [blockquote] [before={\blank[small,fixed] \setupnarrower[left=1.5pc,right=0pc] \startnarrower[left

[NTG-context] problem with \setupdelimitedtext

2016-05-16 Thread Alan Bowen
In the following, the indentation using \startblockquote is twice what it should be: \setupdelimitedtext [blockquote] [before={\blank[small,fixed] \setupnarrower[left=1.5pc,right=0pc] \startnarrower[left,right] \noindentation}, after={\par\stopnarrower \blank[small

Re: [NTG-context] weird behavior of brackets in block quotations

2016-03-07 Thread Alan Bowen
gt; > In the latest beta, “[...]” is a problem in block quotations and [] does > not appear in the output. > > \setupdelimitedtext > [blockquote] > [before={\blank[small,fixed]}, > after={\blank[small,fixed]}] > > \starttext > [t]he quotation goes as

Re: [NTG-context] weird behavior of brackets in block quotations

2016-03-07 Thread Wolfgang Schuster
Alan Bowen <mailto:bowenala...@gmail.com> 7. März 2016 um 21:52 We use “[...]” in quotations to indicate departures from the written text. In the latest beta, “[...]” is a problem in block quotations and [] does not appear in the output. \setupdelimitedtext [bloc

[NTG-context] weird behavior of brackets in block quotations

2016-03-07 Thread Alan Bowen
We use “[...]” in quotations to indicate departures from the written text. In the latest beta, “[...]” is a problem in block quotations and [] does not appear in the output. \setupdelimitedtext [blockquote] [before={\blank[small,fixed]}, after={\blank[small,fixed]}] \starttext

Re: [NTG-context] different \setupdelimitedtext for notes

2016-03-06 Thread Pablo Rodriguez
On 03/06/2016 07:35 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 6. März 2016 um 17:12 >> [...] >> How can I have differet setups for blockquotes in footnotes? > > \startsetups[note:blockquote] > > \setupdelimitedtext > [blockquote] > [b

Re: [NTG-context] different \setupdelimitedtext for notes

2016-03-06 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 6. März 2016 um 17:12 Dear list, I have the following sample: \setupdelimitedtext [blockquote] [before={\blank[big]}, after={\blank[big]}] \setupdelimitedtext [blockquote:note] [before={\blank[small]}, after={\blank[small]}] \starttext This i

[NTG-context] different \setupdelimitedtext for notes

2016-03-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupdelimitedtext [blockquote] [before={\blank[big]}, after={\blank[big]}] \setupdelimitedtext [blockquote:note] [before={\blank[small]}, after={\blank[small]}] \starttext This is text. \startblockquote

Re: [NTG-context] How to define a new environment / function?

2015-06-20 Thread Wolfgang Schuster
to typeset in a usable and readable way. It should look something like this: ---snip: minimal example--- \starttext \setupdelimitedtext[blockquote] {{\bf Geschlecht} \qquad Geschlecht \hfill $0,1$} \startblockquote Das Geschlecht des Probanden. \stopblockquote \blank {{\bf SoB} \qquad Geburtssaison

[NTG-context] How to define a new environment / function?

2015-06-17 Thread Dr. Thomas Möbius
this: ---snip: minimal example--- \starttext \setupdelimitedtext[blockquote] {{\bf Geschlecht} \qquad Geschlecht \hfill $0,1$} \startblockquote Das Geschlecht des Probanden. \stopblockquote \blank {{\bf SoB} \qquad Geburtssaison \hfill $1,\dots,4$} \startblockquote Jahreszeit der Geburt. Kodierung: 1

[NTG-context] \placefootnotes bug?

2015-04-05 Thread Idris Samawi Hamid ادريس سماوي حامد
. Off, no misalignment. Is this a bug or am I missing something? Thanks in advance for any advice and Best wishes Idris === \setupdelimitedtext[blockquote][indenting=no,spacebefore=medium,spaceafter=medium] \setupnotation[footnote] [before={\setupwhitespace[none]},indenting

[NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
. \setupindenting[big,yes] % Do not indent the first line of a block quote \setupdelimitedtext[blockquote][before={\blank[medium] \setupindenting[no]},after={\blank[medium]}] % Do not indent the first line after a block quote \setupdelimitedtext[blockquote][indentnext=auto

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Wolfgang Schuster
the indentnext=auto mechanism. But with \start|stopparagraph it doesn't seem to work: See attached. \setupindenting[big,yes] % Do not indent the first line of a block quote \setupdelimitedtext[blockquote][before={\blank[medium] \setupindenting[no]},after={\blank[medium

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 17 Mar 2015 15:04:32 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 17.03.2015 um 21:30 schrieb Idris Samawi Hamid ادريس سماوي حامد \setupindenting[big,yes] % Do not indent the first line of a block quote \setupdelimitedtext[blockquote][before

Re: [NTG-context] context - docx ??

2015-01-15 Thread Alan BRASLAU
On Wed, 14 Jan 2015 15:22:39 -0700 Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: BTW, the quotation environment is not translated as blockquote and paragraphs lack their p tags. Hmm, perhaps a showstopper. Hans has often promoted the use of \startparagraph

Re: [NTG-context] context - docx ??

2015-01-14 Thread Idris Samawi Hamid ادريس سماوي حامد
class=break!--empty--/div. It seems to be how ConTeXt handles the blank line and the \bf command. BTW, the quotation environment is not translated as blockquote and paragraphs lack their p tags. Hmm, perhaps a showstopper... In Opera 12.17, darwin-xml-raw.xml gives a syntax error XML

Re: [NTG-context] context - docx ??

2015-01-14 Thread Pablo Rodriguez
show up in the browser, but the bold does not. Well, I cannot see any bold in div class=break!--empty--/div. It seems to be how ConTeXt handles the blank line and the \bf command. BTW, the quotation environment is not translated as blockquote and paragraphs lack their p tags. In Opera 12.17

[NTG-context] Text background regression in 20140316 beta

2014-03-16 Thread Rik Kabel
=paragraph, background=color, backgroundcolor=gray, backgroundoffset=.25em, frame=off, ] \definedelimitedtext[BlockQuote] \setupdelimitedtext [BlockQuote] [ leftmargin=1pc

[NTG-context] Another issue with my magazine

2013-09-03 Thread Mikoláš Štrajt
,   foregroundcolor=white,   frame=off.   width=\hsize   ]{\antykwa \rightaligned{\WORD{#1}~~}} } \setupdelimitedtext[blockquote][style=\slx,before={\setupinterlinespace[line=2.4ex]}] %%% %%% FOLLOWING IS EXAMPLE TEXT %%% %%% %%% `rubrika` is section of magazine \rubrika{Example} %%% `pripevek

Re: [NTG-context] Marking a textfragment for later reference

2012-08-07 Thread Robert Blackstone
topics, I would simply give them different names. Each topic its own name, like [topicb], [topicc], etc. Like you would do if you wanted to use slightly different types of blockquote in your document. So my question: Why can some identifiers, for example of figures, be used for internal references

Re: [NTG-context] Marking a textfragment for later reference

2012-08-07 Thread Sietse Brouwer
would simply give them different names. Each topic its own name, like [topicb], [topicc], etc. Like you would do if you wanted to use slightly different types of blockquote in your document. So my question: Why can some identifiers, for example of figures, be used for internal references

Re: [NTG-context] linenumbering

2012-07-12 Thread Wolfgang Schuster
the annotation module which has space before/spaceafter keys to control the spacing around the environment. \usemodule[annotation] \definelinenumbering [blockquote] [width=1cm, location=text] \define[2]\BlockquoteCommand {\startlinenumbering[blockquote][start=\annotationparameter{start}]% #2

[NTG-context] [OT] Research into Generative Typesetting

2011-07-23 Thread John Haltiwanger
a generative workflow, I had to make some unfortunate concessions: on the one hand, I had to process some of the input in order to get some basic things I needed, such as a blockquote environment for Context, handling the title page layout and abstract, among other things; and on the other hand I

Re: [NTG-context] markdown

2011-07-21 Thread Wolfgang Schuster
\stopmarkdown \stoptext m-markdown.mkiv \definedelimitedtext [markdownblockquote] - [markdownquotation] + [quotation] % blockquote How about a parameter to change the output of the rule: %\unexpanded\def\markdownrule % {\hairline\par} \unexpanded\def\markdownrule {\markdownparameter\c!rule

Re: [NTG-context] header for indented text / blockquote

2011-05-07 Thread Wolfgang Schuster
Am 06.05.2011 um 14:43 schrieb R. Ermers: Thanks Wolfgang! I saw your examples and the module does exactly what I need. I installed the module from the context wiki third party modules, but got this error message: […] Your context is too old. When you use the minimals you can

[NTG-context] header for indented text / blockquote

2011-05-06 Thread R. Ermers
Dear All, In my docbook xml document I have fragments that I want to typeset indented. For this I use the tag blockquote which I map to startnarrower and stopnarrower. Some blockquotes in my document have a header: blockquote titleHow a cow catches a rabbit/title paraText Text/para

Re: [NTG-context] header for indented text / blockquote

2011-05-06 Thread Wolfgang Schuster
Am 06.05.2011 um 12:00 schrieb R. Ermers: Dear All, In my docbook xml document I have fragments that I want to typeset indented. For this I use the tag blockquote which I map to startnarrower and stopnarrower. Some blockquotes in my document have a header: blockquote titleHow

Re: [NTG-context] header for indented text / blockquote

2011-05-06 Thread R. Ermers
. The same error persists. Regards, Robert Op 6 mei 2011, om 12:10 heeft Wolfgang Schuster het volgende geschreven: Am 06.05.2011 um 12:00 schrieb R. Ermers: Dear All, In my docbook xml document I have fragments that I want to typeset indented. For this I use the tag blockquote which I map

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-11 Thread Oliver Buerschaper
I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3 of the example file). \setupdelimitedtext [blockquote] [spacebefore=halfline] spacebefore={force,halfline} Hello

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-01-23 Thread Oliver Buerschaper
I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3 of the example file). \setupdelimitedtext [blockquote] [spacebefore=halfline] spacebefore={force,halfline} Hello

Re: [NTG-context] Endnote-problem

2011-01-22 Thread Robert Blackstone
send us a minimal example of your problem because I?m unable to reproduce your problem. \setupnote[footnote][location=none] \setupdelimitedtext[blockquote][spacebefore=] \starttext \dorecurse{100}  {\dorecurse{#1}{text }%  %\footnote{\startblockquote\dorecurse{#1}{text }\stopblockquote

Re: [NTG-context] Request for delimited texts

2011-01-22 Thread Wolfgang Schuster
] \setupdelimitedtext [blockquote] [spacebefore=line] \define[2]\AnnotationCommand {\startblockquote “#2”\wordright{\annotationparameter{subtitle}}% \stopblockquote} \setupannotation [ display=no, alternative=command, command=\AnnotationCommand] \starttext Thus, I came

Re: [NTG-context] Endnote-problem

2011-01-21 Thread Wolfgang Schuster
the truncated list of notes there follows an empty page. What can I do about it? You can send us a minimal example of your problem because I’m unable to reproduce your problem. \setupnote[footnote][location=none] \setupdelimitedtext[blockquote][spacebefore=] \starttext \dorecurse{100} {\dorecurse

[NTG-context] delimitedtext, spacebefore and grid

2011-01-20 Thread Oliver Heins
Hello, I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3 of the example file). \setupdelimitedtext [blockquote] [spacebefore=halfline] However, this fails when the blockquote

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-01-20 Thread Wolfgang Schuster
Am 20.01.2011 um 17:04 schrieb Oliver Heins: Hello, I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3 of the example file). \setupdelimitedtext [blockquote

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-01-20 Thread Oliver Heins
of the example file). \setupdelimitedtext [blockquote] [spacebefore=halfline] spacebefore={force,halfline} Hello Wolfgang, thank you for your answer. Sadly, your solution only works for blockquotes starting at the top of the page. When blockquotes are broken up between two pages the main text

Re: [NTG-context] \startquotation, grid and footnote

2011-01-16 Thread Oliver Heins
[blank]\noindentation}, after={\stoplinecorrection}, style=\tfx] \setupdelimitedtext [blockquote] [spacebefore=line, style=\tfx] […] \startquotation \getbuffer[quot]\footnote{foobar} \stopquotation \startblockquote … \stopblockquote Thank you Wolfgang, it works. Best regards

Re: [NTG-context] \startquotation, grid and footnote

2011-01-15 Thread Wolfgang Schuster
write \setuplanguage[de][leftquotation=»,rightquotation=«] \setupquotation[ before={\startlinecorrection[blank]\noindentation}, after={\stoplinecorrection}, style=\tfx] \setupdelimitedtext [blockquote] [spacebefore=line, style=\tfx] […] \startquotation \getbuffer[quot]\footnote

Re: [NTG-context] Another indenting problem

2010-12-03 Thread Wolfgang Schuster
Am 03.12.2010 um 13:03 schrieb Andreas Harder: Hi all, it took me a while to track this down. It seems that if one uses \in[…] and \footnote{…} in the same paragraph the following \noindentation-command is ignored. Here is an example: You’re wrong, the indentation for the blockquote

Re: [NTG-context] Another indenting problem

2010-12-03 Thread Andreas Harder
: You’re wrong, the indentation for the blockquote comes from the leftmargin setting which indents the whole paragraph at the left and the right margin, you can change this and the real indentation with \setupdelimitedtext[blockquote][indenting=no,leftmargin=no] Hello Wolfgang, thanks

[NTG-context] Interline space in block quotes

2010-09-29 Thread Andreas Harder
Hi all, it is not possible to adapt the interline space in delimited text environments (without explicit add a \par) anymore. Example: \setupdelimitedtext[blockquote][style=small] \starttext \input tufte \startblockquote \input tufte % \par \stopblockquote \input tufte \stoptext Greeting

Re: [NTG-context] Interline space in block quotes

2010-09-29 Thread Wolfgang Schuster
Am 29.09.2010 um 10:01 schrieb Andreas Harder: Hi all, it is not possible to adapt the interline space in delimited text environments (without explicit add a \par) anymore. Example: \setupdelimitedtext[blockquote][style=small] \setupdelimitedtext[blockquote][before=\smallbodyfont

[NTG-context] Contextual spacing

2009-12-17 Thread Andreas Harder
Hi all, please have a look at the attached example. Is there a (not manually) possibility to reduce the space of two consecutive headers? Another situation is if a header with ‘before=,’ is followed by an environment with 'before=\blank’ … \setupdelimitedtext[blockquote][before=\blank,after

Re: [NTG-context] Contextual spacing

2009-12-17 Thread Wolfgang Schuster
’ … \setupdelimitedtext[blockquote][before=\blank,after=\blank] \setupdelimitedtext[...][spacebefore=default,spaceafter=default] you can now use before/after for different settings \setuphead[subject][after=,style=\bfa] \starttext \subject{No space after the header} \input tufte

Re: [NTG-context] Contextual spacing

2009-12-17 Thread Andreas Harder
=,’ is followed by an environment with 'before=\blank’ … \setupdelimitedtext[blockquote][before=\blank,after=\blank] \setupdelimitedtext[...][spacebefore=default,spaceafter=default] you can now use before/after for different settings \setuphead[subject][after=,style=\bfa] \starttext

Re: [NTG-context] presentation (simple-slides?) master-like feature?

2009-10-29 Thread Bruce D'Arcus
not have any specific environment for blockquote (but Thomas and I have discussed adding something similar). The vanilla ConTeXt equivalent \startblockquote ... \stopblockquote doesn't do anything fancy. Finally,        li class=slide imgbig           h1Container Ships/h1           img src

[NTG-context] Jumping headers

2009-10-29 Thread Andreas Harder
Hello, I found another funny effect. Please look at the following example: \setuplayout[header=\lineheight,headerdistance=\lineheight] \setupinterlinespace[line=18pt] \setupdelimitedtext[blockquote][style={\tfx\setupinterlinespace [line=2.8ex]}] \setupheader[style=\tfxx] % strut=yes

  1   2   >